/**
 * Mock data for trial component
 * Contains sample subscription information and customer records
 * for demonstration purposes in trial mode
 */

// Mock subscription info
export const mockSubscriptionInfo = {
  totalRecords: 5,
  newRecordsAdded: 0,
  oldestRecord: new Date(2025, 0, 15).toISOString(),
  newestRecord: new Date(2025, 3, 20).toISOString(),
  fileIdentifier: 'TRIAL-SAMPLE-DATA'
};

// Generate mock customer data
export const generateMockCustomers = () => {
  return [
    {
      cID: 'T001',
      cString: 'CST-TRIAL-001',
      cBillCompany: 'Acme Corporation',
      cBillFname: 'John',
      cBillLname: 'Doe',
      cEmail: 'john.doe@example.com',
      cPhone: '(555) 123-4567',
      cFax: null,
      cDateSince: new Date(2025, 0, 15).toISOString(),
      cUpdateDate: new Date(2025, 2, 20).toISOString(),
      cMemo: 'Trial Account',
      cHow: 'Web Search',
      cWholesaleDiscount: '0',
      cBillAddress1: '123 Main Street',
      cBillAddress2: 'Suite 100',
      cBillCity: 'Anytown',
      cBillState: 'CA',
      cBillZip: '90210',
      bill_county: 'Los Angeles',
      cBillCountry: 'United States',
      billEqualShip: '1',
      cShipCompany: 'Acme Corporation',
      cShipFname: 'John',
      cShipLname: 'Doe',
      cShipAddress1: '123 Main Street',
      cShipAddress2: 'Suite 100',
      cShipCity: 'Anytown',
      cShipState: 'CA',
      cShipZip: '90210',
      ship_county: 'Los Angeles',
      cShipCountry: 'United States',
      cPass: 'hashed_password',
      cPassHint: 'favorite pet',
      cLocknum: '0',
      cLasterr: null,
      cLocktime: null,
      cLockip: null
    },
    {
      cID: 'T002',
      cString: 'CST-TRIAL-002',
      cBillCompany: 'XYZ Industries',
      cBillFname: 'Jane',
      cBillLname: 'Smith',
      cEmail: 'jane.smith@example.com',
      cPhone: '(555) 987-6543',
      cFax: '(555) 987-6500',
      cDateSince: new Date(2025, 1, 3).toISOString(),
      cUpdateDate: new Date(2025, 3, 10).toISOString(),
      cMemo: 'Premium Trial',
      cHow: 'Referral',
      cWholesaleDiscount: '5',
      cBillAddress1: '456 Oak Avenue',
      cBillAddress2: '',
      cBillCity: 'Metropolis',
      cBillState: 'NY',
      cBillZip: '10001',
      bill_county: 'New York',
      cBillCountry: 'United States',
      billEqualShip: '0',
      cShipCompany: 'XYZ Distribution Center',
      cShipFname: 'Jane',
      cShipLname: 'Smith',
      cShipAddress1: '789 Warehouse Blvd',
      cShipAddress2: 'Unit 42',
      cShipCity: 'Metropolis',
      cShipState: 'NY',
      cShipZip: '10002',
      ship_county: 'New York',
      cShipCountry: 'United States',
      cPass: 'hashed_password',
      cPassHint: 'high school name',
      cLocknum: '0',
      cLasterr: null,
      cLocktime: null,
      cLockip: null
    },
    {
      cID: 'T003',
      cString: 'CST-TRIAL-003',
      cBillCompany: '',
      cBillFname: 'Robert',
      cBillLname: 'Johnson',
      cEmail: 'robert.johnson@example.com',
      cPhone: '(555) 333-2222',
      cFax: null,
      cDateSince: new Date(2025, 2, 5).toISOString(),
      cUpdateDate: new Date(2025, 3, 15).toISOString(),
      cMemo: 'Personal Account',
      cHow: 'Social Media',
      cWholesaleDiscount: '0',
      cBillAddress1: '789 Pine Lane',
      cBillAddress2: 'Apt 303',
      cBillCity: 'Springfield',
      cBillState: 'IL',
      cBillZip: '62701',
      bill_county: 'Sangamon',
      cBillCountry: 'United States',
      billEqualShip: '1',
      cShipCompany: '',
      cShipFname: 'Robert',
      cShipLname: 'Johnson',
      cShipAddress1: '789 Pine Lane',
      cShipAddress2: 'Apt 303',
      cShipCity: 'Springfield',
      cShipState: 'IL',
      cShipZip: '62701',
      ship_county: 'Sangamon',
      cShipCountry: 'United States',
      cPass: 'hashed_password',
      cPassHint: 'favorite color',
      cLocknum: '0',
      cLasterr: null,
      cLocktime: null,
      cLockip: null
    },
    {
      cID: 'T004',
      cString: 'CST-TRIAL-004',
      cBillCompany: 'Global Enterprises',
      cBillFname: 'Maria',
      cBillLname: 'Garcia',
      cEmail: 'maria.garcia@example.com',
      cPhone: '(555) 444-5555',
      cFax: '(555) 444-5500',
      cDateSince: new Date(2025, 2, 20).toISOString(),
      cUpdateDate: new Date(2025, 3, 20).toISOString(),
      cMemo: 'International Account',
      cHow: 'Trade Show',
      cWholesaleDiscount: '10',
      cBillAddress1: '101 Commerce Plaza',
      cBillAddress2: 'Floor 14',
      cBillCity: 'Miami',
      cBillState: 'FL',
      cBillZip: '33101',
      bill_county: 'Miami-Dade',
      cBillCountry: 'United States',
      billEqualShip: '0',
      cShipCompany: 'Global Enterprises',
      cShipFname: 'Carlos',
      cShipLname: 'Mendez',
      cShipAddress1: '202 Shipping Way',
      cShipAddress2: '',
      cShipCity: 'San Juan',
      cShipState: 'PR',
      cShipZip: '00901',
      ship_county: '',
      cShipCountry: 'Puerto Rico',
      cPass: 'hashed_password',
      cPassHint: 'mother\'s maiden name',
      cLocknum: '0',
      cLasterr: null,
      cLocktime: null,
      cLockip: null
    },
    {
      cID: 'T005',
      cString: 'CST-TRIAL-005',
      cBillCompany: 'Tech Innovations',
      cBillFname: 'David',
      cBillLname: 'Wilson',
      cEmail: 'david.wilson@example.com',
      cPhone: '(555) 777-8888',
      cFax: null,
      cDateSince: new Date(2025, 3, 1).toISOString(),
      cUpdateDate: new Date(2025, 3, 10).toISOString(),
      cMemo: 'Startup Account',
      cHow: 'Partner Referral',
      cWholesaleDiscount: '0',
      cBillAddress1: '555 Technology Parkway',
      cBillAddress2: '',
      cBillCity: 'San Francisco',
      cBillState: 'CA',
      cBillZip: '94107',
      bill_county: 'San Francisco',
      cBillCountry: 'United States',
      billEqualShip: '1',
      cShipCompany: 'Tech Innovations',
      cShipFname: 'David',
      cShipLname: 'Wilson',
      cShipAddress1: '555 Technology Parkway',
      cShipAddress2: '',
      cShipCity: 'San Francisco',
      cShipState: 'CA',
      cShipZip: '94107',
      ship_county: 'San Francisco',
      cShipCountry: 'United States',
      cPass: 'hashed_password',
      cPassHint: 'first car model',
      cLocknum: '0',
      cLasterr: null,
      cLocktime: null,
      cLockip: null
    }
  ];
};

